package com.ruoyi.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 信誉考核对象 sft_reputation_assessment
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class SftReputationAssessment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 0:车辆 1：人员 */
    @Excel(name = "0:车辆 1：人员")
    private Integer type;

    /** 考核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 考核对象 */
    @Excel(name = "考核对象")
    private String assessmentObject;

    /** 考核结果 */
    @Excel(name = "考核结果")
    private String result;

    /** 信誉评级 */
    @Excel(name = "信誉评级")
    private Integer reputationLevel;

    /** 图片 */
    @Excel(name = "图片")
    private String pic;

    /** 备注 */
    @Excel(name = "备注")
    private String mark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setAssessmentObject(String assessmentObject) 
    {
        this.assessmentObject = assessmentObject;
    }

    public String getAssessmentObject() 
    {
        return assessmentObject;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setReputationLevel(Integer reputationLevel) 
    {
        this.reputationLevel = reputationLevel;
    }

    public Integer getReputationLevel() 
    {
        return reputationLevel;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setMark(String mark) 
    {
        this.mark = mark;
    }

    public String getMark() 
    {
        return mark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("content", getContent())
            .append("type", getType())
            .append("date", getDate())
            .append("assessmentObject", getAssessmentObject())
            .append("result", getResult())
            .append("reputationLevel", getReputationLevel())
            .append("pic", getPic())
            .append("mark", getMark())
            .toString();
    }
}
